package cn.explink.dop.tools;

import java.util.ResourceBundle;

import org.apache.commons.lang3.StringUtils;

public class GetProjectUrl {
	
	private static ResourceBundle bundle = null;
			
	public static String getNewOrderUrl(){
		bundle = ResourceBundle.getBundle("url");
		String url = "";
		url = bundle.getString("newOrderUrl");	
		if(StringUtils.isBlank(url)){
			url="http://api.neolix.cn/open/push/new_order";
		}
		return url;
	}
	public static String getCancelOrderUrl(){
		bundle = ResourceBundle.getBundle("url");
		String url = "";
		url = bundle.getString("cancelOrderUrl");
		if(StringUtils.isBlank(url)){
			url="http://api.neolix.cn/open/push/cancel_order";
		}
		return url;
	}
}
